package com.frcdi.qms.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 功能描述
 *
 * @author: author
 * @date: 2024年04月02日 11:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName(value = "work_template_history")
public class TemplateHistory implements Serializable{
    private static final long serialVersionUID = -95829441258242072L;
    @TableId
    /**
     * 历史主键id 自增
     */
    private String historyId;
    private String template;//对应模板表id
    private String templateName;//模板名称
    private String formItems;//表单
    private String process;//流程
    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Integer version;
    private String flowableDefinition;

}
